package com.example.smartcity_poverty.ui.AllService.LogisticsQuery.adapter

import com.example.smartcity_poverty.Base.BaseRecyclerAdapter
import com.example.smartcity_poverty.logic.ServiceBean.LogisticsQueryBean.LqTouSuListModel
import kotlinx.android.synthetic.main.re_lq_tousu_list.*

/**
 *  created by ikun
 *  ANDROID STUDIO - version 4.0
 *  email: jinkunwei41@gmail.com
 * --------------------------------
 *
 **/
class LqTouSuListAdapter(
    val list: MutableList<LqTouSuListModel.RowsBean>,
    layoutId: Int
) : BaseRecyclerAdapter<LqTouSuListModel.RowsBean>(list, layoutId) {
    override fun setData(
        view: BaseViewHolder.ViewFind,
        data: LqTouSuListModel.RowsBean,
        position: Int,
        holder: BaseViewHolder
    ) {
        val d = list[position]

        view.lqTouSuTime.text = "投诉快递单号: ${d.infoNo}"
        view.lqTouSuContent.text = "投诉内容: ${d.description}"
    }
}